package so.sao.code.service.domain.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

/**
 * 码对应的url文件云存储的相关处理参数
 *
 * @author shixy
 */
@Entity
@Table(indexes = { @Index(columnList = "filePath") })
public class CodeFileHandle extends BaseEntity {

	/**
	 *
	 */
	private static final long serialVersionUID = -638255868423907021L;

	/**
	 * 企业ID
	 */
	@Column(nullable = false)
	private Long eseId;

	/**
	 * 容器名称
	 */
	@Column(nullable = false)
	private String containerName;

	/**
	 * 文件路径
	 */
	@Column(nullable = false)
	private String filePath;

	/**
	 * 文件类型
	 */
	@Column(nullable = false)
	private Integer fileType;

	/**
	 * 工控机文件转译密码
	 */
	@Column(nullable = false)
	private String parsePassWord;

	public String getContainerName() {
		return containerName;
	}

	public void setContainerName(String containerName) {
		this.containerName = containerName;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public Integer getFileType() {
		return fileType;
	}

	public void setFileType(Integer fileType) {
		this.fileType = fileType;
	}

	public Long getEseId() {
		return eseId;
	}

	public void setEseId(Long eseId) {
		this.eseId = eseId;
	}

	public String getParsePassWord() {
		return parsePassWord;
	}

	public void setParsePassWord(String parsePassWord) {
		this.parsePassWord = parsePassWord;
	}

}
